package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @description: 新增设备
 * @author: qinjianhui
 * @create: 2024-07-18 10:17
 **/
@Data
public class DeviceAddReq {
    @NotBlank(message = "site.id.not.null")
    @Schema(name = "siteId",description = "站点id")
    private String siteId;

    /*
     * 设备名称
     * */
    @NotBlank(message = "device.name.not.null")
    @Schema(name = "deviceName",description = "设备名称")
    private String deviceName;

    /*
     * 设备编码
     * */
    @Schema(name = "deviceCode",description = "设备编码")
    private String deviceCode;

    /*
     * 房间id
     * */
    @Schema(name = "roomId",description = "房间id(网关设备)")
    private String roomId;

    @NotBlank(message = "snCode.not.null")
    @Schema(name = "snCode",description = "sn码")
    private String snCode;

    @NotBlank(message = "skCode.not.null")
    @Schema(name = "skCode",description = "sk码")
    private String skCode;

    @Schema(name = "deviceId",description = "网关设备id")
    private String deviceId;

    @Schema(name = "typeId",description = "类型id")
    private String typeId;

    @Schema(name = "typeCode",description = "类型编码")
    private String typeCode;

    @Schema(name = "subTypeCode",description = "子类型编码")
    private String subTypeCode;

    @Schema(name = "category",description = "1-ipc,2-网关,3-其他,99配件")
    private String category;
}

